<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sửa nhóm bài viết</title>
</head>

<body>
<body>
<?PHP
	require ('models/m_nbv.php'); 
	
	 $post=getbyid_nbv($_GET['id']);
		
		if (isset($_POST['update']) )
			{ 
				update_nbv($_POST);
				$post=getbyid_nbv($_GET['id']); 
		        header('Location: suanbv.php?id='.$_GET['id']);

			}

	
	require ('v_nbv_sua.php'); 
	
?>
</body>
</html>